package com.bootdo.cm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.cm.dao.CmMediaBridgeDao;
import com.bootdo.cm.domain.CmMediaBridgeDO;
import com.bootdo.cm.service.CmMediaBridgeService;



@Service
public class CmMediaBridgeServiceImpl implements CmMediaBridgeService {
	@Autowired
	private CmMediaBridgeDao cmMediaBridgeDao;
	
	@Override
	public CmMediaBridgeDO get(String mediaId){
		return cmMediaBridgeDao.get(mediaId);
	}
	
	@Override
	public List<CmMediaBridgeDO> list(Map<String, Object> map){
		return cmMediaBridgeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return cmMediaBridgeDao.count(map);
	}
	
	@Override
	public int save(CmMediaBridgeDO cmMediaBridge){
		return cmMediaBridgeDao.save(cmMediaBridge);
	}
	
	@Override
	public int update(CmMediaBridgeDO cmMediaBridge){
		return cmMediaBridgeDao.update(cmMediaBridge);
	}
	
	@Override
	public int remove(String mediaId){
		return cmMediaBridgeDao.remove(mediaId);
	}
	
	@Override
	public int batchRemove(String[] mediaIds){
		return cmMediaBridgeDao.batchRemove(mediaIds);
	}
	
}
